package com.atguigu.mediator;

import lombok.Getter;

@Getter
public abstract class Colleague {
    private Mediator mediator;

    private String name;

    public Colleague(Mediator mediator, String name) {
        this.mediator = mediator;
        this.name = name;
    }

    public abstract void sendMessage(int stateChange);
}
